import {date} from '@s/utils.js'

const fmtDate = {
    filters:{
        fmtDate(value){
            if(!value) return;
            let val=Number(value);
            val=val<9999999999?val*1000:val;
            return date(val);
        }
    }
}

export default fmtDate